package com.emagic.manage.mvp.domain;

/**
 * TODO 描述该文件做什么
 *
 * @author baoy
 * @version 1.0
 *          Create by 2017/6/28 下午2:48
 */
public abstract class PageLimitUseCase<T> extends UseCase<T> {

    private int pageOffset = 1;
    private int pageSize = 15;

    public void setPageOffset(int pageOffset) {
        this.pageOffset = pageOffset;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public String pageOffset() {
        return String.valueOf(pageOffset);
    }

    public String pageSize() {
        return String.valueOf(pageSize);
    }
}
